package zyAll.zy2;

public class Test {
    public static void main(String[] args) {
        Computer computer = new Computer();
        computer.add(new Mouse());
        computer.add(new Mic());
        computer.add(new KeyBoard());
        computer.powerOn();
        computer.powerOff();
    }
}